import httpRequest from '../axios'

//查询全部
export function apiGetPi() {
    return httpRequest({
		url: '/index/get/indexPi',
		method: 'get',
	})
}
interface Form {
	id:number,
    piName:string,
    piPd:string,
    piSiFirst:string,
    piSiSecond:string
}
//修改
export function piEdit(param: Form) {
    return httpRequest({
		url: '/index/post/editPi',
		method: 'post',
		data: param
	})
}